package com.sinosoft.msf.base.supplier.pojo.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "s_sup_dict")
public class SSupDict {
    /**
     * 主键 id
     */
    @Id
    private String code;

    /**
     * 姓名
     */
    @Column(name = "name")
    private String name;

    /**
     * 父编码
     */
    @Column(name = "parent_code")
    private String parentCode;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }
}